package com.ruoyi.demo.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户信息对象 demo_customer
 * 
 * @author zhangshu
 * @date 2021-01-26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("demo_customer")
public class DemoCustomer implements Serializable {

private static final long serialVersionUID=1L;


    /** 客户id */
    @TableId(value = "customer_id")
    private Long customerId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String customerName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 客户性别 */
    @Excel(name = "客户性别")
    private String sex;

    /** 客户生日 */
    @Excel(name = "客户生日" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    /** 客户描述 */
    @Excel(name = "客户描述")
    private String remark;

}
